package com.michale.generator.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.michale.generator.domain.GenTableColumn;
import com.michale.generator.mapper.GenTableColumnMapper;
import com.michale.generator.service.GenTableColumnService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author Michale
 * @apiNote 代码生成业务表 实现层
 */
@Service("genTableColumnService")
public class GenTableColumnServiceImpl extends ServiceImpl<GenTableColumnMapper, GenTableColumn> implements GenTableColumnService {


    /**
     * 查询业务字段列表
     *
     * @param tableId 业务字段编号
     * @return 业务字段集合
     */
    @Override
    public List<GenTableColumn> selectGenTableColumnListByTableId(Long tableId) {
        return baseMapper.selectGenTableColumnListByTableId(tableId);
    }
}